package 设计模式.策略模式;

/**
 * @author caihe
 * @date 2021/9/24 9:37
 */
public class Main {

    public static void main(String[] args) {
        Context context = new Context();
        System.out.println(context.doAction(StrategyEnums.A.getType()));
        System.out.println(context.doAction(StrategyEnums.B.getType()));

    }
}
